export function getAddrByLngLat(lnglat, callback) {
    AMap.plugin('AMap.Geocoder', function() {
        var geocoder = new AMap.Geocoder({});
    
        geocoder.getAddress(lnglat, function(status, result) {
            if (status === 'complete' && result.info === 'OK') {
                callback(result.regeocode);
            }
        })
    });
}